home *** CD-ROM | disk | FTP | other *** search
- property ancestor
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- return me
- end
-
- on performFunction me
- global IconList1, IconList2, CreditList, gTourForwardArrow, gTourBackArrow, firstTime
- sound stop 1
- set the puppet of sprite 7 to 1
- sprite(7).visible = 1
- set the puppet of sprite 7 to 0
- set the puppet of sprite 15 to 0
- set the puppet of sprite 8 to 0
- firstTime = 1
- repeat with z = 2 to 10
- if not (the memberNum of sprite z = 0) then
- if member(the member of sprite z).type = #digitalVideo then
- sprite(z).movieRate = 0
- sprite(z).visible = 0
- set the puppet of sprite z to 0
- updateStage()
- end if
- end if
- end repeat
- if marker(0) = label("Navigation") then
- repeat with X = 6 to 13
- iconObj = getaProp(IconList1, X)
- outScope(iconObj)
- end repeat
- outScope(gTourForwardArrow)
- end if
- if marker(0) = label("3.3") then
- repeat with X = 5 to 12
- iconObj = getaProp(IconList2, X)
- outScope(iconObj)
- end repeat
- outScope(gTourForwardArrow)
- end if
- if marker(0) = label("Credits") then
- repeat with X = 5 to 7
- creditObj = getaProp(CreditList, X)
- outScope(creditObj)
- end repeat
- end if
- outScope(gTourForwardArrow)
- outScope(gTourBackArrow)
- updateStage()
- go(label("TMenu"))
- end
-